# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=unarj
pkgver=2.65
pkgrel=0
pkgdesc="Extracting, testing and  viewing the contents of archives created with the ARJ archiver"
options="!check" # No testsuite
url="http://www.arjsoftware.com"
arch="all"
license="custom"
source="https://src.fedoraproject.org/repo/pkgs/unarj/unarj-$pkgver.tar.gz/c6fe45db1741f97155c7def322aa74aa/unarj-$pkgver.tar.gz
	time64.patch"

build() {
	make
}

package() {
	install -D -m755 unarj $pkgdir/usr/bin/unarj
}

sha512sums="747bdc940fcb8ac28207a90cec8011deb93fe26064a44c94de44d7dfc82cb1cc6db2d1a648af3626283fc4f5d608ec312900455827fd1b7835ccfb89e71a7ac7  unarj-2.65.tar.gz
5c699162ef6c1d66e9b25dd0eb9b1684211622c09665b467751a7cb599dba4b1e888818a89fb846574adc858ea962ec114e65f08e62e7d21d28f282ee797b330  time64.patch"
